package com.jiaai.cloud.gift.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jiaai.cloud.base.page.CustomPage;
import com.jiaai.cloud.gift.entity.TLiveGiftDetail;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * <p>
 * 直播间礼物赠送表 服务类
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-01
 */
public interface ITLiveGiftDetailService extends IService<TLiveGiftDetail> {
    /**
     * 关联查询所有
     * @param wrapper
     * @return
     */
    CustomPage<TLiveGiftDetail> joinFully(Page page, Wrapper wrapper);

    /**
     * 关联查询所有按房间Id
     * @param id
     * @return
     */
    CustomPage<TLiveGiftDetail> joinFullyByBroadcastId(Page page, String id);
}
